import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router/routes'
import plugins from './plugins'
import './style.css'

// 创建Vue应用实例
const app = createApp(App)

// 添加Pinia状态管理
app.use(createPinia())

// 添加Element Plus组件库
app.use(ElementPlus)

// 添加Vue Router路由
app.use(router)

// 添加自定义插件
app.use(plugins)

// 挂载应用
app.mount('#app')
